<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class PreferentialSettings extends TimeModel
{

    protected $name = "preferential_settings";

    protected $deleteTime = false;

    
    
    public function getUseTypeList()
    {
        return ['0'=>'平台通用','1'=>'店铺专用','2'=>'商品类型专用',];
    }

    public function getUsetThresholdList()
    {
        return ['0'=>'无门槛','1'=>'满减','2'=>'打折',];
    }

    public function getStateList()
    {
        return ['0'=>'可用','1'=>'禁用',];
    }


}